package com.news.di.component;

import android.app.Activity;

import com.news.di.module.ActivityModule;
import com.news.di.scopes.ActivityScope;
import com.news.ui.main.activity.MainActivity;

import dagger.Component;

/**
 * Created by Administrator on 2017/3/1 0001.
 */

@ActivityScope
@Component(modules = ActivityModule.class, dependencies = AppComponent.class)
public interface ActivityComponent {
    Activity getActivity();

    void inject(MainActivity activity);
}
